package com.Sun.Model;

import java.io.Serializable;
import java.util.BitSet;

public class indexTreeNode implements Serializable{
	private static final long serialVersionUID = 4L;
	private indexTreeNode left;
	private indexTreeNode right;
	private indexTreeNode parent;
	public indexTreeNode getParent() {
		return parent;
	}
	public void setParent(indexTreeNode parent) {
		this.parent = parent;
	}
	private double[]searchIndex;
	private encryptedIndex enIndex;
	public encryptedIndex getEnIndex() {
		return enIndex;
	}
	public void setEnIndex(encryptedIndex enIndex) {
		this.enIndex = enIndex;
	}
	private String FID;
	public indexTreeNode(int n)
	{
		searchIndex=new double[n];
		this.FID=null;
		this.left=null;
		this.right=null;
	}
	public indexTreeNode(){}
	public void setFID(String FID)
	{
		this.FID=FID;
	}
	public String getFID()
	{
		return FID;
	}
	public indexTreeNode getLeft() {
		return left;
	}
	public void setLeft(indexTreeNode left) {
		this.left = left;
	}
	public indexTreeNode getRight() {
		return right;
	}
	public void setRight(indexTreeNode right) {
		this.right = right;
	}
	public double[] getSearchIndex() {
		return searchIndex;
	}
	public void setSearchIndex(double[] searchIndex) {
		this.searchIndex = searchIndex;
	}
}
